import 'package:json_annotation/json_annotation.dart';

part 'card_detail.g.dart';

@JsonSerializable()
class UserCardDetail {
  int? id;
  int? type_id;
  String? color;
  int? status;
  String? frame_code;
  String? engine_code;
  int? is_bind;
  int? stock;
  int? store_id;
  int? control_id;
  int? battery_id;
  List<String>? bind_users;
  String? sn_code;
  int? socket_type;
  String? type_name;
  String? mac;
  String? imei;
  String? iccid;
  String? imsi;
  String? firmware_version;
  String? battery_code;
  String? firmwares_version;
  String? version;
  String? voltage;
  int? type;
  String? supplier;
  String? capacity;
  String? store_name;
  int? buy_time;
  int? activation_time;
  int? is_manager;
  String? bike_name;
  String? bike_image;
  UserCardDetail();

  factory UserCardDetail.fromJson(Map<String, dynamic> json) =>
      _$UserCardDetailFromJson(json);
  Map<String, dynamic> toJson() => _$UserCardDetailToJson(this);
}
